package learning.pcfg.inference;

import java.util.List;

import learning.data.document.TreeDocument;
import learning.pcfg.model.TerminalScore;
import learning.pcfg.training.PCFGParameters;

public interface IParseScorer {
	
	// score a parse tree
	public float scoreParse(Parse parse);
	
	// score terminals
	public void scoreTerminals(Region region, List<TerminalScore> scores);
	
	// set document
	public void setDocument(TreeDocument doc);
	
	// set parameters
	public void setParameters(PCFGParameters parameters);
}
